* s~\t+$~~
[lhc/web/wiklou.git] / includes / templates / Userlogin.php
index d00851e..eba92da 100644 (file)
@@ -26,7 +26,7 @@ class UserloginTemplate extends QuickTemplate {
        <div class="visualClear"></div>
 <?php } ?>
 
-<div id="userlogin">
+<div id="userloginForm">
 <form name="userlogin" method="post" action="<?php $this->text('action') ?>">
        <h2><?php $this->msg('login') ?></h2>
        <p id="userloginlink"><?php $this->html('link') ?></p>
@@ -91,7 +91,10 @@ class UsercreateTemplate extends QuickTemplate {
        function execute() {
                if( $this->data['message'] ) {
 ?>
-       <div class="<?php $this->text('messageclass') ?>">
+       <div class="<?php $this->text('messagetype') ?>box">
+               <?php if ( $this->data['messagetype'] == 'error' ) { ?>
+                       <h2><?php $this->msg('loginerror') ?>:</h2>
+               <?php } ?>
                <?php $this->html('message') ?>
        </div>
        <div class="visualClear"></div>
@@ -136,7 +139,7 @@ class UsercreateTemplate extends QuickTemplate {
                        <td align='right'><label for='wpRetype'><?php $this->msg('yourpasswordagain') ?>:</label></td>
                        <td align='left'>
                                <input type='password' class='loginPassword' name="wpRetype" id="wpRetype"
-                                       value="<?php $this->text('retype') ?>" 
+                                       value="<?php $this->text('retype') ?>"
                                        size='20' />
                        </td>
                </tr>
@@ -181,7 +184,7 @@ class UsercreateTemplate extends QuickTemplate {
        <?php } ?>
        </table>
        <?php
-               
+
                if( $this->data['useemail'] ) {
                        echo '<div id="login-emailforlost">';
                        $this->msgHtml( 'emailforlost' );